//
//  BGMineTableViewCell.swift
//  Baga
//
//  Created by 飞王 on 16/12/28.
//  Copyright © 2016年 飞王. All rights reserved.
//

import UIKit

class BGMineTableViewCell: UITableViewCell {
    
    var _cellModel: BGMineCellModel?
    
    var cellModel: BGMineCellModel?{
        
        set{
            _cellModel=newValue
            titleNameLabel.text = _cellModel?.title;
            
            iconView.image = UIImage(named: "Icon-76");
        }
        get{
            return _cellModel
        }
    }
    


    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
    
    @IBOutlet weak var titleNameLabel: UILabel!
    @IBOutlet weak var iconView: UIImageView!
}
